<?php slot('languageMenu') ?>
    <?php if($languages): ?>
        <ul id="langbar">
			<?php foreach($languages as $language): ?>
                <li><a href="/<?php echo $language['slug'] ?>"><?php echo $language['pageTitle'] ?></a></li>
            <?php endforeach ?>
			<div class="clear"></div>
		</ul>
    <?php endif ?>
<?php end_slot() ?>